package com.estar.assistsurvy.activity;

import com.bumptech.glide.Glide;
import com.estar.assistsurvy.R;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

public class AboutActivity extends BaseActivity implements OnClickListener{

	private RelativeLayout returnBack;
	private ImageView logo_img;
	private TextView version_txt;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_about);
		init();
	}
	private void init(){
		returnBack=find(R.id.returnBack);
		returnBack.setOnClickListener(this);
		logo_img=find(R.id.logo_img);
		Glide.with(this)
		.load(R.drawable.rrklogo)
		.into(logo_img);
		version_txt=find(R.id.version_txt);
		version_txt.setText("人人勘 1.0.1");
	}
	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch (v.getId()) {
		case R.id.returnBack:
			finish();
			break;

		default:
			break;
		}
	}
}
